home *** CD-ROM | disk | FTP | other *** search
- .TH SMORPH
- 6 "IRIT Version 6.0"
- .SH NAME
- SMORPH
-
-
-
- SurfaceType SMORPH( SurfaceType Srf1, SurfaceType Srf2, NumericType Blend )
-
- Creates a new surface which is a convex blend of the two given surfaces.
- The two given surfaces must be compatible (see FFCOMPAT) before this blend
- is invoked. Very useful if a sequence that "morphs" one surface to another
- is to be created.
-
- Example:
-
- for ( i = 0.0, 1.0, 11.0,
- Msrf = SMORPH( Srf1, Srf2, i / 11.0 ):
- color( Msrf, white ):
- attrib( Msrf, "rgb", "255,255,255" ):
- attrib( Msrf, "reflect", "0.7" ):
- save( "morp1-" + i, Msrf )
- );
-
- creates a sequence of 12 surfaces, morphed from Srf1 to Srf2
- and saves them in the files "morph-0.dat" to "morph-11.dat".
- See also CMORPH.
-